<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>websocket-java-socket-io</title>
    <script src="https://cdn.jsdelivr.net/npm/socket.io-client@2/dist/socket.io.js"></script>
    <script src="./js/jquery-3.5.1.js"></script>
    <script src="./js/socket-common.js"></script>
</head>
<body>
<div id="sign">init</div>
<pre id="content"></pre>
</body>

<script type="text/javascript">
    const host = 'http://127.0.0.1:8888';

    const nsName = 'vv';
    const openId = 'open-id-local-1';

    const socket = io(host + '/' + nsName + '?role=1&open=' + openId + '&EIO=3&transport=websocket');

    addEvent();
</script>
</html>
